<div class="container">
	<?php
	if ($this->session->userdata('send_reset_error')) {
		echo $this->session->userdata('send_reset_error');
		$this->session->unset_userdata('send_reset_error');
	} else if ($this->session->userdata('no_user')) {
		echo $this->session->userdata('no_user');
		$this->session->unset_userdata('no_user');
	} else if ($this->session->userdata('empty_mail')) {
		echo $this->session->userdata('empty_mail');
		$this->session->unset_userdata('empty_mail');
	} else if ($this->session->userdata('sms_confirm')) {
		echo $this->session->userdata('sms_confirm');
		$this->session->unset_userdata('sms_confirm');
	}
	?>
    <form class="form-horizontal well" method="post" id="form" action="doforget">
        <fieldset>
			<legend>Reset password</legend>

            <div class="control-group">
                <label for="email"> Email</label>
                <input class="box" type="text" id="email" name="email" />
            </div>
            <div class="form-actions">
                <input type="submit" class="btn btn-info" value="Reset" />
            </div>
			<?php if (isset($info)): ?>
				<div class="alert alert-success">
					<?php echo($info) ?>
				</div>
			<?php elseif (isset($error)): ?>
				<div class="alert alert-error">
					<?php echo($error) ?>
				</div>
			<?php endif; ?>

        </fieldset>
    </form>
</div>
